class CommunitiesForeignKeys < ActiveRecord::Migration
  def self.up
    add_column :users, :community_id, :integer
    add_column :nodes, :community_id, :integer
    add_column :edges, :community_id, :integer

  end

  def self.down
# is the method drop_column or remove_column (see migration 002)
    drop_column :users, :community_id
    drop_column :nodes, :community_id
    drop_column :edges, :community_id
  end
end
